package com.bwda.dsrs.filecenter.domain.form.fileapply;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author yangjun
 * @date 2019/4/11
 */
@Data
@ApiModel(description = "文件流转申请")
public class FlowApplyCreatForm {


    @ApiModelProperty(value = "文件ID,逗号隔开")
    @NotNull(message = "文件不能为空")
    private String fileIds;

    @ApiModelProperty(value = "申请标题")
    @NotNull(message = "标题不能为空")
    private String applyTitle;
    private String rightConfig;

    @ApiModelProperty(value = "申请理由")
    @NotNull(message = "申请理由不能为空")
    private String applyReason;

    @ApiModelProperty(value = "接收人编号，逗号隔开")
    @NotNull(message = "接收人不能为空")
    private List<String> toUserCodes;

    @ApiModelProperty(value = "审核人编号")
    private String auditUserCode;


}
